package com.shensi.adminCollect.domain.fleet.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel
public class FleetCardSubVo {

    @ApiModelProperty(value = "id", position = 1)
    private Long id;

    @ApiModelProperty(value = "油企名称", position = 2)
    private String enterpriseName;

    @ApiModelProperty(value = "车队卡名称", position = 2)
    private String fleetName;

    @ApiModelProperty(value = "主卡id", position = 2)
    private Long fleetCardId;

    @ApiModelProperty(value = "主卡号", position = 3)
    private String cardNumber;

    @ApiModelProperty(value = "子卡号", position = 4)
    private String cardNumberSub;

    @ApiModelProperty(value = "姓名", position = 4)
    private String name;

    @ApiModelProperty(value = "车队卡子卡手机号", position = 5)
    private String phone;

    @ApiModelProperty(value = "车队卡手机号", position = 5)
    private String mobilePhone;

    @ApiModelProperty(value = "车牌号", position = 6)
    private String truckNumber;

    @ApiModelProperty(value = "余额", position = 7)
    private BigDecimal balance;

    @ApiModelProperty(value = "消费金额", position = 8)
    private BigDecimal spendAmount;

    @ApiModelProperty(value = "状态(1:待审核 2:审核通过 3:审核不通过)", position = 9)
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间", position = 10)
    private Date createdTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间", position = 11)
    private Date updatedTime;

    /**
     * 副卡的额度分配方式：0.未设置；1.共享主卡额度 2.手动分配子卡额度
     */
    @ApiModelProperty(value = "副卡的额度分配方式：0.未设置；1.共享主卡额度 2.手动分配子卡额度", position = 12)
    private Integer secondaryCardAllocationType;

    public Integer getSecondaryCardAllocationType() {
        return secondaryCardAllocationType;
    }

    public void setSecondaryCardAllocationType(Integer secondaryCardAllocationType) {
        this.secondaryCardAllocationType = secondaryCardAllocationType;
    }

    public Long getId() {
        return id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getCardNumberSub() {
        return cardNumberSub;
    }

    public void setCardNumberSub(String cardNumberSub) {
        this.cardNumberSub = cardNumberSub;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getTruckNumber() {
        return truckNumber;
    }

    public void setTruckNumber(String truckNumber) {
        this.truckNumber = truckNumber;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public BigDecimal getSpendAmount() {
        return spendAmount;
    }

    public void setSpendAmount(BigDecimal spendAmount) {
        this.spendAmount = spendAmount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFleetName() {
        return fleetName;
    }

    public void setFleetName(String fleetName) {
        this.fleetName = fleetName;
    }

    public Long getFleetCardId() {
        return fleetCardId;
    }

    public void setFleetCardId(Long fleetCardId) {
        this.fleetCardId = fleetCardId;
    }
}
